<template>
	<view class="container">
		<image src="../../../static/logo.png" class="banner" mode="widthFix"></image>
		<view class="number">
			NO.1523456
		</view>
		<view class="l">
			<text class="label">
				剩余电量：
			</text>
			<text class="value">
				98%
			</text>
		</view>

		<view class="gz" @click="handleNavToGz">
			<text class="left">
				查看计费规则
			</text>
			<text class="right">
				<u-icon name="arrow-right" size="22"></u-icon>
			</text>
		</view>

		<button>支付</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			handleNavToGz() {
				uni.navigateTo({
					url: '/pages/device/deviceRule/deviceRule'
				})
			}
		}
	}
</script>

<style lang="scss">
	.container {
		.banner {
			width: 250upx;
			margin: 22upx auto;
			display: block;
		}

		.number {
			text-align: center;
			font-size: 36upx;
		}

		.l {
			font-size: 32upx;
			margin-top: 30upx;
			display: flex;
			padding: 22upx 30upx;
			box-sizing: border-box;
		}


		.gz {
			display: flex;
			align-items: center;
			padding: 22upx 30upx;
			box-sizing: border-box;
			justify-content: space-between;
		}

		button {
			width: 90%;
			margin-left: 5%;
			margin-top: 120upx;
		}
	}
</style>
